namespace UmSoft.SharePoint.Integration._1Cv77
{
    using System;
    using UmSoft.SharePoint.Integration._1Cv77;

    public class V7Periodic : V7Object
    {
        public V7Periodic(V7Object v7Object) : base(v7Object)
        {
        }
        public object Value
        {
            get
            {
                return this.GetProperty("Значение");

            }
            set
            {
                base.SetProperty("Значение", value);
            }
        }
        public DateTime Date
        {
            get
            {
                return Convert.ToDateTime(this.GetProperty("ДатаЗнач"));
            }
            set
            {
                base.SetProperty("ДатаЗнач", value);
            }
        }
        public virtual object this[DateTime date]
        {
            get
            {
                return this.InvokeMethod("Получить", new object[] { date });

            }
            set
            {
                base.InvokeMethod("Установить",
                    new object[] {
                            date,
                            value});
            }
        }
    }
}
